import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: {
    list: []
  },

  mutations: {
    setMenusList (state, canLook) {
      // canLook当前登陆人可访问的页面
      state.list = [...constantRoutes, ...canLook]
    }
  }
}
